package com.woniu.airent.mapper;

import com.woniu.airent.entity.HouseImg;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HouseImgMapper {
    int deleteByPrimaryKey(Integer imgId);

    int insert(HouseImg record);

    HouseImg selectByPrimaryKey(Integer imgId);

    List<HouseImg> selectAll();

    int updateByPrimaryKey(HouseImg record);

    int Myinsert(@Param("houseId") Integer houseId, @Param("path") String path);
}
